package com.gp.utils;

import org.springframework.util.DigestUtils;

public class MD5Utils {


    private static final String salt = "fzp2021";

    public static String getMD5(String string){
        String val = string+salt;
        return DigestUtils.md5DigestAsHex(val.getBytes());
    }

}
